fetch "shared with me" information separately
authorJyrki Gadinger <nilsding@nilsding.org>
Fri, 10 Jan 2025 12:53:17 +0000 (13:53 +0100)
committerJyrki Gadinger <nilsding@nilsding.org>
Fri, 7 Feb 2025 08:22:07 +0000 (09:22 +0100)
commit269378e08136c21ddc4cbefb9c4710d8563d1897
tree1ae86557017117b78bcb23f5e0be6afd06f56076
parente170b0cf983b79b0420bd5ea81b17365dfa81785
fetch "shared with me" information separately

if the parameter `shared_with_me` is set to `"true"` on the shares API
call the response will only include that and not return any other
sharing information.  therefore let's fetch it inside another job (this
is also how the web client does it).

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/filedetails/sharemodel.cpp
src/gui/filedetails/sharemodel.h
src/gui/ocssharejob.cpp
src/gui/ocssharejob.h
src/gui/sharemanager.cpp
src/gui/sharemanager.h